home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{0D452EE1-E08F-101A-852E-02608C4D0BB4}#2.0#0"; "FM20.DLL"
- Begin VB.Form frmJapaneseTest
- BorderStyle = 3 'Fixed Dialog
- Caption = "Japanese Test"
- ClientHeight = 3936
- ClientLeft = 36
- ClientTop = 612
- ClientWidth = 9732
- Icon = "frmJapaneseTest.frx":0000
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 3936
- ScaleWidth = 9732
- ShowInTaskbar = 0 'False
- StartUpPosition = 2 'CenterScreen
- Begin MSForms.TabStrip TabStrip1
- Height = 1692
- Left = 5400
- TabIndex = 3
- Top = 1200
- Width = 2892
- ListIndex = 0
- Size = "5101;2984"
- Items = "Tab1;Tab2;"
- TipStrings = ";;"
- Names = "Tab1;Tab2;"
- NewVersion = -1 'True
- TabsAllocated = 2
- Tags = ";;"
- TabData = 2
- Accelerator = ";;"
- FontHeight = 156
- FontCharSet = 0
- FontPitchAndFamily= 2
- TabState = "3;3"
- End
- Begin MSForms.CommandButton cmdExit
- Height = 492
- Left = 120
- TabIndex = 2
- Top = 3120
- Width = 4692
- Caption = "Exit"
- Size = "8276;868"
- FontName = "Arial"
- FontHeight = 240
- FontCharSet = 0
- FontPitchAndFamily= 2
- ParagraphAlign = 3
- End
- Begin MSForms.Label Label2
- Height = 612
- Left = 120
- TabIndex = 1
- Top = 2160
- Width = 4692
- Caption = "Text"
- Size = "8276;1080"
- BorderStyle = 1
- FontName = "Arial"
- FontHeight = 240
- FontCharSet = 0
- FontPitchAndFamily= 2
- End
- Begin MSForms.Label Label1
- Height = 612
- Left = 120
- TabIndex = 0
- Top = 1200
- Width = 4692
- Caption = "Text"
- Size = "8276;1080"
- BorderStyle = 1
- FontName = "Arial"
- FontHeight = 240
- FontCharSet = 0
- FontPitchAndFamily= 2
- End
- Begin VB.Menu mnuFile
- Caption = "File"
- Begin VB.Menu mnuFileExit
- Caption = "Exit"
- End
- End
- Begin VB.Menu mnuTools
- Caption = "Tools"
- Begin VB.Menu mnuChangeLanguage
- Caption = "Change Language"
- End
- End
- Attribute VB_Name = "frmJapaneseTest"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Private WithEvents ml_RuntimeSupport As MLRUNTIMELib.MLSupport
- Attribute ml_RuntimeSupport.VB_VarHelpID = -1
- Private Sub cmdExit_Click()
- Unload Me
- End Sub
- Private Sub mnuChangeLanguage_Click()
- LanguageSelect.ShowDialog False
- End Sub
- Private Sub mnuFileExit_Click()
- Unload Me
- End Sub
- Private Sub ml_UpdateControls()
- Me.Caption = ml_string(1)
- cmdExit.Font.Name = ml_string(11)
- cmdExit.Caption = ml_string(10)
- Label1.Font.Name = ml_string(11)
- Label1.Caption = ml_string(3)
- Label2.Font.Name = ml_string(11)
- Label2.Caption = ml_string(3)
- mnuChangeLanguage.Caption = ml_string(6)
- mnuFile.Caption = ml_string(4)
- mnuFileExit.Caption = ml_string(2)
- mnuTools.Caption = ml_string(5)
- End Sub
- Private Sub Form_Load()
- Set ml_RuntimeSupport = New MLSupport
- ml_UpdateControls
- End Sub
- Private Sub ml_RuntimeSupport_LanguageChanged(ByVal LanguageID As Long, ByVal Language As String)
- ml_ChangeLanguage LanguageID, Language
- ml_UpdateControls
- End Sub
-